package com.wonders.cyxtjsonupdate.controller;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.wonders.cyxtjsonupdate.entity.Cyxt;
import com.wonders.cyxtjsonupdate.service.CyxtJsonData;
import com.wonders.cyxtjsonupdate.util.CyxtJsonUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;


/**
 * @Description:
 * @ClassName: BuildCyxtData
 * @Author: 陈兆庆
 * @Date: 2021/12/31 10:32
 * @Version: 1.0     // 版本
 */

@RestController
public class BuildCyxtData {
   @Autowired
   CyxtJsonData cyxtJsonData;



    @RequestMapping("/getList")
    public String getList(){
        return cyxtJsonData.buildTotal();
    }





}

